/******************************************************************************/
/* Frank Fossen, Levent Neyse, and Carsten Schroeder                          */
/* Does Cognitive Reflection Relate to Preferences & Socio-Economic Outcomes? */
/* Journal of Political Economy Microeconomics                                */
/******************************************************************************/

/******************************************************************************/
/* Master File to start all do-files in the right order                       */
/******************************************************************************/

#delimit;

clear;
clear matrix;
clear mata;
set maxvar 10000;


/* Define paths: */

/* Use a path like this if you use the official SOEP-IS distribution: */
* global SOEPIS_IN_PATH "C:\Users\ffossen\Box\Data\SOEP\stata_v38_international\soep-is.2021_stata_en\";

/* Use a path like this if you use the data included in the replication package: */
global SOEPIS_IN_PATH "C:\Dropbox\Socioeconomics of CRT\Replication Package\Data\";

global MY_DATA_PATH  "C:\Dropbox\Socioeconomics of CRT\Replication Package\Data\";
global MY_RES_PATH  "C:\Dropbox\Socioeconomics of CRT\Replication Package\Results\";


/* Run do-files: */

cd "C:\Dropbox\Socioeconomics of CRT\Replication Package\Do-files";

do 01_prepare_SOEPIS2020;
do 02_estim_CRT;
